<%@page import="java.util.ArrayList"%>
<%@page import="cn.edu.thsis.pojo.teacher"%>
<%@page import="cn.edu.thsis.pojo.student"%>
<%@page import="java.util.List"%>
<%@page import="java.sql.ResultSet"%>
<%@page import="java.sql.PreparedStatement"%>
<%@page import="cn.edu.thsis.dao.impl.jdbcUtils"%>
<%@page import="java.sql.Connection"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>教师管理</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/bootstrap.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/animate.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/font-awesome.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/style.css">

</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>还未出题的教师列表</h5>
            </div>
            <div class="ibox-content">
                <table class="table table-hover">
                    <thead>
                    <tr>
                        <th>工号</th>
                        <th>姓名</th>
                        <th>职称</th>
                        <th>联系方式</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <%
                    List<teacher> teath = (ArrayList<teacher>)request.getAttribute("teath");
                    for(teacher tth :teath){
                    %>
                    <tr>
                        <td><%=tth.getUid()%></td>
                        <td><%=tth.getUname()%></td>
                        <td><%=tth.getTea_title()%></td>
                        <td><%=tth.getTea_tel()%></td>
                        <td><a href="${pageContext.request.contextPath}/UpdateUser?oper=warntea&id=<%=tth.getUid()%>">催促</a></td>
                    </tr>
                    <%} %>
                    </tbody>
                </table>
            </div>
            </div>
        </div>
    </div>
<script src="${pageContext.request.contextPath}/js/jquery.min.js"></script>
<script src="${pageContext.request.contextPath}/js/bootstrap.min.js"></script>
<script src="${pageContext.request.contextPath}/js/content.js"></script>
</body>
</html>